package com.example.util;

import com.example.bean.OpenApiParams;

public class OpenApiUtils {
	public static final String createSign(OpenApiParams openApiParams){
		String valiteString = "appId="+ openApiParams.getAppId() + 
				"&appSercret="+ openApiParams.getAppSercret() + 
				"&timeStamp=" + openApiParams.getTimeStamp() + 
				"&data=" + openApiParams.getData();
		return MD5Util.MD5Encode(valiteString).toUpperCase();
	}
}
